package com.xxsc.common.to.es;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author 罗惠江
 * @version 1.0
 * @email 1511619294@qq.com
 * @date 2020/11/25 21:58
 */
@Data
public class SkuEsModel {

	private Long skuId;

	private Long spuId;

	private String skuTitle;

	private BigDecimal skuPrice;

	private String skuImg;

	private Long saleCount;

	private Boolean hasStock;

	private Long hotScore;

	private Long brandId;

	private String brandName;

	private String brandImg;

	private Long catalogId;

	private String catalogName;

	private List<Attrs> attrs;

	@Data
	public static class Attrs {

		private Long attrId;

		private String attrName;

		private String attrValue;

	}


}
